package com.gxa.common.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("患者患者跟进用户关系视图")
public class PatientAndPatientFollowAndUser {


    @ApiModelProperty("联系人名")
    private String chargePerson;
    @ApiModelProperty("负责人id")
    private Integer userId;
    @ApiModelProperty("患者名")
    private String  name;
    @ApiModelProperty("跟进表ID")
    private Integer id;
    @ApiModelProperty("患者ID")
    private Integer patientId;
    @ApiModelProperty("跟进单类型 0电话 1邮件 2信息 3拜访")
    private Byte type;
    @ApiModelProperty("跟进单状态 0新跟进 1进行中 2已完成 3已取消")
    private Byte status;
    @ApiModelProperty("跟进单标题")
    private String title;
    @ApiModelProperty("跟进时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date date;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    @ApiModelProperty("下次跟进时间")
    private Date nextDate;
    @ApiModelProperty("跟进单描述")
    private String description;
    @ApiModelProperty("创建时间")
    private String createTime;
    @ApiModelProperty("更新时间")
    private String updateTime;
    @ApiModelProperty("是否被删除")
    private Byte isDelete;
    @ApiModelProperty(name = "startTime",notes = "起始时间",dataType = "String")
    private String startTime;
    @ApiModelProperty(name = "stopTime",notes = "截止时间",dataType = "String")
    private String stopTime;

}
